//
//  CNMineCell.m
//  BeeQuick_19
//
//  Created by clinging on 16/9/26.
//  Copyright © 2016年 CN Team. All rights reserved.
//

#import "CNMineCell.h"
#import "CNMineModel.h"


@interface CNMineCell ()

@property (weak, nonatomic) IBOutlet UIImageView *iconImageView;
@property (weak, nonatomic) IBOutlet UILabel *functionLabel;

@end


@implementation CNMineCell

-(void)setMineModel:(CNMineModel *)mineModel
{
    _mineModel = mineModel;
    self.iconImageView.image = [UIImage imageNamed:mineModel.icon];
    self.functionLabel.text = mineModel.name;
}


- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    
    // Configure the view for the selected state
}

@end
